<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>题库管理-<{$user_data['school_name']}>-德安信会计在线教育平台</title>
</head>
<body>
<div class="wrap">
	<!--star left-->
	<div class="column">
		<{include file="left_menu.html"}>
	</div>
	<div id="ContMianBox">
		<!--star子栏目-->
		<div class="sub-colum">
            <div class="tit"><{$left_menu_min.menu}></div>
            <ul>
                <{foreach from=$left_menu_min.list item=item}>
                <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
                <{/foreach}>
            </ul>
        </div>
		<!--end子栏目-->
		<!--end left-->
		<div class="container narrow">
		    <!--star conter-->
		    <div class="cetContent">
				<div class="tit p-lr20">
				    <span class="curr">统计分析</span>
				</div>
				<!--star内容区域-->
				<div class="mainScroll">
				    <div class="mainContainer line-all">
				        <!--star tabMainCont-->
				        <div class="tabMainCont">
				            <!--star会员管理-->
							<fieldset class="layui-elem-field">
						  		<legend>筛选</legend>
					  			<div class="layui-field-box">
  									<form class="layui-form layui-form-pane1" method="post">
				                    	<div class="layui-form-item">
									    	<div class="layui-inline">
									    		<input type="text" class="layui-input" style="width:200px;" placeholder="组卷名称"  name="title" value="<{if !empty($conditions['title'])}><{$conditions['title']}><{/if}>" />
									    	</div>

									    	<div class="layui-inline">
									    		<button type="submit" class="layui-btn">搜索</button>
									    	</div>
								    	</div>
				                    </form>
		                    	</div>
							</fieldset>
		                	<form class="layui-form layui-form-pane1" method="post" delete_action="/topic/delete">
			                    <table class="layui-table" lay-even lay-skin="row">
			                        <thead>
									  	 <tr>
				                            <th>学员</th>
				                            <th>科目名称</th>
				                            <th>组卷类型</th>
				                            <th>组卷名称</th>
				                            <th>正确率</th>
				                            <th>得分</th>
				                            <th>考试时间</th>
				                            <th>状态</th>
				                        </tr>
								  	</thead>
			                        <{foreach from=$topic_list item=item}>
			                        	<tr>
			                        		<td class="tal not_lb"><{$item.nick}></td>
				                            <td class="tal not_lb"><{$item.title}></td>
				                            <td class="tal not_lb"><{if $item['type'] == 1}>真题冲刺<{elseif $item['type'] == 2}>考情速递<{elseif $item['type'] == 3}>作业<{elseif $item['type'] == 4}>考试<{/if}></td>
				                            <td class="tal not_lb"><{$item.name}></td>
				                            <td class="tal not_lb"><{$item.right_percentage}>%</td>
				                            <td class="tal not_lb"><{$item.fraction}></td>
				                            <td class="tal not_lb">
				                            	<p><{$item.begin_time|date_format:'%Y-%m-%d  %H:%M:%S'}></p>
				                            	<{if $item.status == 1}>
				                            	<p>至</p>
				                            	<p><{$item.end_time|date_format:'%Y-%m-%d  %H:%M:%S'}></p>
				                            	<p style="color:red">用时：<{($item.end_time - $item.begin_time)|changeTimeType}></p>
				                            	<{/if}>
				                            </td>
				                            <td class="tal not_lb"><{if $item.status == 1}>已交卷<{else}>尚未交卷<{/if}></td>
				                        </tr>
			                        <{/foreach}>
			                    </table>
		                    </form>

			                <div class="pages p-tb20" style="text-align:right;">
			                    <{$pagination}>
			                </div>

			            </div>
			            <!--star会员管理-->
			        </div>
				        <!--end tabMainCont-->
		        </div>

		    </div>
		</div>

	</div>
	<{include file="footer.html"}>
</div>
</body>
</html>
